Notification.setCategory

Sets the type of @notification to @category. Categories have a main type like email, im or device and can have a detail separated by a ., e.g. im.received or email.arrived. Setting the category helps the notification server to select proper feedback to the user.

Standard categories are listed in the specification.

class Notification
void
setCategory
(
string category
)

Parameters

category string

the category for @notification, or %NULL for no category

Meta

Since

2.70